]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensions-app: Don't use markup for row titles
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 13 Apr 2024 12:42:52 +0000 (14:42 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 16 Apr 2024 13:35:05 +0000 (13:35 +0000)
The title is set from extension metadata, which isn't supposed to
contain markup. That means it may contain unescaped  characters
like `&` that break the title when interpreted as markup.

Explicitly opt out of markup handling to fix this.

Close: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7579
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3266>

subprojects/extensions-app/data/ui/extension-row.ui

index f09f3a5b78c4f6746ce33d4605992427cdc5d135..9cbe6a10b9f42c70881019653fa726ac1a68b661 100644 (file)
@@ -2,6 +2,7 @@
 <interface>
   <template class="ExtensionRow" parent="AdwActionRow">
     <property name="activatable-widget">switch</property>
+    <property name="use-markup">false</property>
     <binding name="title">
       <lookup name="name" type="Extension">
         <lookup name="extension" type="ExtensionRow"/>